feat: add PDF research agent example using bindufy#328
feat: add PDF research agent example using bindufy#328ne-ey wants to merge 2 commits intoGetBindu:mainfrom
Conversation
|
I built this example while learning the Bindu workflow If example agents are not the right direction, I'm happy to |
c33d2c4 to
a149819
Compare
Paraschamoli
left a comment
There was a problem hiding this comment.
@ne-ey use openrouter api key also this is a good agent so don't put it inside beginner make a different folder for it with skill.yaml, readme ,.env.example you can use other agent for refrence
Thanks for the suggestion!! that makes sense, i'll move this out of the beginner folder and restructure it as a proper standalone agent example....and i'll also add the required files and switch to using OPENROUTER |
|
@Paraschamoli
Let me know if anything else needs changes! |
Summary
Problem:
There was no beginner example demonstrating how to build a document research agent that processes PDFs and raw text using Bindu.
Why it matters:
Developers learning Bindu need a clear real-world example showing how an AI agent can be converted into a live service using
bindufy().What changed:
Added a new example agent
pdf_research_agent.pyunderexamples/beginner/.The agent accepts either a PDF file path or raw document text and returns a structured summary.
What did NOT change:
No changes were made to core Bindu functionality, APIs, storage, or scheduler components.
Change Type
Scope
Linked Issue/PR
None
User-Visible / Behavior Changes
A new beginner example agent is available:
examples/beginner/pdf_research_agent.py
This demonstrates how to:
pypdfbindufy()Security Impact
New permissions/capabilities? No
Secrets handling changed? No
New network calls? No
Database changes? No
Auth changes? No
Verification
Environment
OS: Windows 11
Python: 3.13
Storage backend: InMemoryStorage
Scheduler backend: InMemoryScheduler
Steps to Test
python pdf_research_agent.py
curl -X POST http://localhost:3775/
tasks/get.Expected Behavior
Agent returns a structured summary of the provided document text or PDF content.
Actual Behavior
Agent successfully returns summarized output through the Bindu task system.
Human Verification
Verified scenarios:
Edge cases checked:
Not verified:
Compatibility / Migration
Backward compatible: Yes
Risks and Mitigations
None
Checklist